Optimal. Leaf size=26 \[ \frac{\left (a+b \log \left (c x^n\right )\right )^{p+1}}{b n (p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0317464, antiderivative size = 26, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {2302, 30} \[ \frac{\left (a+b \log \left (c x^n\right )\right )^{p+1}}{b n (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2302
Rule 30
Rubi steps
\begin{align*} \int \frac{\left (a+b \log \left (c x^n\right )\right )^p}{x} \, dx &=\frac{\operatorname{Subst}\left (\int x^p \, dx,x,a+b \log \left (c x^n\right )\right )}{b n}\\ &=\frac{\left (a+b \log \left (c x^n\right )\right )^{1+p}}{b n (1+p)}\\ \end{align*}
Mathematica [A] time = 0.0077521, size = 26, normalized size = 1. \[ \frac{\left (a+b \log \left (c x^n\right )\right )^{p+1}}{b n (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.04, size = 27, normalized size = 1. \begin{align*}{\frac{ \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) ^{1+p}}{bn \left ( 1+p \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.03451, size = 99, normalized size = 3.81 \begin{align*} \frac{{\left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}{\left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}^{p}}{b n p + b n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.6094, size = 56, normalized size = 2.15 \begin{align*} - \begin{cases} - a^{p} \log{\left (x \right )} & \text{for}\: b = 0 \\- \left (a + b \log{\left (c \right )}\right )^{p} \log{\left (x \right )} & \text{for}\: n = 0 \\- \frac{\begin{cases} \frac{\left (a + b \log{\left (c x^{n} \right )}\right )^{p + 1}}{p + 1} & \text{for}\: p \neq -1 \\\log{\left (a + b \log{\left (c x^{n} \right )} \right )} & \text{otherwise} \end{cases}}{b n} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.31826, size = 36, normalized size = 1.38 \begin{align*} \frac{{\left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}^{p + 1}}{b n{\left (p + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]